home *** CD-ROM | disk | FTP | other *** search
- format of message header for M2
- <date format>%<time format>%<..>NICK<..>
-
- <time format> - time format (see description bellow)
- <date format> - date format (see description bellow)
- <..> - nick separators
- 0 - (Zero) Identifies empty section
- % - format field separator
- NICK - reserved word, indicate NICK record
- special symbols:
- % for use % as symbol '%' -> %%
- \n new line
-
- example of formatting:
- 0%0%[NICK] says: - for MSN logging format
- dddd',' dd MMMM yyyy%hh':'mm':'ss%[NICK] - for IRC logging format
-
- time format
- -----------
- default time string for setting
- "hh':'mm':'ss",
- "HH'-'mm'-'ss",
- "h'-'m",
- "h':'m",
- "H':'m':'s tt",
- "hh-mm-ss tt",
-
- h Hours with no leading zero for single-digit hours; 12-hour clock.
- hh Hours with leading zero for single-digit hours; 12-hour clock.
- H Hours with no leading zero for single-digit hours; 24-hour clock.
- HH Hours with leading zero for single-digit hours; 24-hour clock.
- m Minutes with no leading zero for single-digit minutes.
- mm Minutes with leading zero for single-digit minutes.
- s Seconds with no leading zero for single-digit seconds.
- ss Seconds with leading zero for single-digit seconds.
- t One character time-marker string, such as A or P.
- tt Multicharacter time-marker string, such as AM or PM.
-
- date format
- -----------
- default date string for setting
- "[ddd',' MMM dd yyyy",
- "dddd'/'MM'/'dd'/'yy",
- "ddd'/'d'/'M'/'yyyy",
- "dddd',' dd MMMM yyyy",
- "dddd',' dd MMMM",
- "d MMMM",
-
- d Day of month as digits with no leading zero for single-digit days.
- dd Day of month as digits with leading zero for single-digit days.
- ddd Day of week as a three-letter abbreviation.
- dddd Day of week as its full name.
- M Month as digits with no leading zero for single-digit months.
- MM Month as digits with leading zero for single-digit months.
- MMM Month as a three-letter abbreviation.
- MMMM Month as its full name.
- y Year as last two digits, but with no leading zero for years less than 10.
- yy Year as last two digits, but with leading zero for years less than 10.
- yyyy Year represented by full four digits.
- gg Period/era string.
-